const SERVER_BASE = process.env.NODE_ENV == 'development' ? 'http://59.110.161.18:8002' : '/api'

export const getPairs = async() => {
  const res = await fetch(`${SERVER_BASE}/?limit=100&offset=0`)
  const data = await res.json()
  return data.pairs
}